<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE HTML>
<html>
  <head>
    <title>天安财险</title>
    <%@ include file="/WEB-INF/views/include/head.jsp"%>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
    <script src="${ctxStatic }/layer/layer.js" type="text/javascript"></script>
    <script src="${ctxStatic }/js/utils.js" type="text/javascript"></script>
    
    <script type="text/javascript">
	   
    
    
    </script>
    
  </head>
  
  <body>
  	<ul class="nav nav-tabs">
		<li><a href="list">角色管理</a></li>
		<li class="active"><a href="javascript:void(0);">添加角色</a></li>
	</ul>

	
    <form id="inputForm" class="form-horizontal" action="add" method="post">
		<input type="hidden"  name="id" value="${role.id }">
		<div class="control-group">
			<label class="control-label">所属公司:</label>
			<div class="controls">
				<div class="input-append">
					<input id="officeName" name="orgid" type="text" value="" data-msg-required=""
						class="required" style=""/>
				</div>
			</div>
		</div>

		<div class="control-group">
			<label class="control-label">角色编号:</label>
			<div class="controls">
				<input name="rolecode"  type="text" value="${role.rolecode }"/>
				<span class="help-inline"><span style="color:red">*</span> </span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">角色名称:</label>
			<div class="controls">
				<input name="rolename"  type="text" value="${role.rolename }"/>
				<span class="help-inline"><span style="color:red">*</span> </span>
			</div>
		</div>

		<div class="control-group">
			<label class="control-label">是否有效:</label>
			<div class="controls">
				<input name="validstatus"  type="text" value="${role.validstatus }"/>
				<span class="help-inline"><span style="color:red">*</span> </span>
			</div>
		</div>

		<div class="control-group">
			<label class="control-label">备注:</label>
			<div class="controls">
				<textarea name="remark" class="input-xlarge" rows="3" >${role.remark }</textarea>
			</div>
		</div>

		<div class="form-actions">
			<input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;
			<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
		</div>
	</form>
    
  </body>
</html>
